package zjh_20230327;

public class Category {
    private int no;
    private  String name;


    Category(){}
    public Category(int a){}
    private Category(double b){}
    public int getNo() {
        return no;
    }
    public void say(){
        System.out.println("---test---");
    }

    public void setNo(int no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Category{" +
                "no=" + no +
                ", name='" + name + '\'' +
                '}';
    }
}
